//
//  AppApiConstants.h
//  AppsTemplate
//  配置项目接口连接的位置
//  Created by Leon on 8/1/14.
//  Copyright (c) 2014 Leon. All rights reserved.
//

#ifndef AppsTemplate_AppApiConstants_h
#define AppsTemplate_AppApiConstants_h


//192.168.0.67:8080    本地调试环境
//120.76.43.36:8001    开发环境
//120.76.43.36:7001    测试环境
//120.76.159.129:7001  生产环境

//#pragma mark ----------------------------------------- 本地调试环境
//#define baseUrl @"http://192.168.0.92:8080/ShaBaoWeb/app/v2/"
//#define baseImageUrl @"http://192.168.0.92:8080/ShaBaoWeb/images/"

//#pragma mark ----------------------------------------- 开发环境
//#define baseUrl @"http://120.76.43.36:8001/ShaBaoWeb/app/v2/"
//#define baseImageUrl @"http://120.76.43.36:8001/ShaBaoWeb/images/"

////#pragma mark ----------------------------------------- 测试环境
//#define baseUrl @"http://120.76.43.36:7001/ShaBaoWeb/app/v2/"
//#define baseImageUrl @"http://120.76.43.36:7001/ShaBaoWeb/images/"

//#pragma mark ----------------------------------------- 生产环境
#define baseUrl @"http://120.76.159.129:7001/ShaBaoWeb/app/v2/"
#define baseImageUrl @"http://120.76.159.129:7001/ShaBaoWeb/images/"

/**
 *  数据接口
 */
//登录
#define api_user_login @"loginSaler"

//修改用户名
#define api_change_user_name @"salerUpdate"

//修改手机号
#define api_change_user_phone_num @"salerUpdateMobileNo"

//获取验证码
#define api_get_validate_code @"triggerSms"

//忘记密码
#define api_forget_user_password @"salerUpdatePassword"

//修改账户密码
#define api_change_user_password @"salerUpdatePasswordVerifyOldNoCode"

//修改手机号
#define api_change_user_phone_num @"salerUpdateMobileNo"

//获取验证码
#define api_get_validate_code @"triggerSms"

//top10
#define api_topSalers @"getTopSalers"

//新增个人客户
#define api_addPersonalUser @"addPersonalUser"

//新增企业客户
#define api_addFirmUser @"addFirmUser"

//企业客户实名认证
#define api_entAuth @"entAuth"

//rankApi
#define api_getRank @"getRank"

//industryAndProvinceApi
#define api_industryAndProvince @"industryAndProvince"

//首页信息
#define api_getIndexData @"getIndexData"

//我的消息
#define api_getNotices @"getNotices"

//我的收入 api_getProfitTotal
#define api_getProfitTotal @"getProfitTotal"

//我的代理 api_getDownCount
#define api_getDownCount @"getDownCount"

//代理详情
#define api_getDownSalers @"getDownSalers"

//计算器城市;//chineseCityApi
#define api_loadInsurerArea @"loadInsurerArea"

//计算器户籍类型;chooseCityApi
#define api_getAdaptScope @"getAdaptScope"

//计算器方案类型;getInsuranceProduct
#define api_getInsuranceProduct @"getInsuranceProduct"

//获取计算结果; calculateScheme
#define api_calculateScheme @"calculateScheme"

//chooseCityApi
#define api_chooseCity @"chooseCity"

//industryAndProvinceApi 行业数据接口
#define api_industryAndProvince @"industryAndProvince"

//api_getVersionConf 版本号
#define api_getVersionConf @"getVersionConf"

//完善企业资料
#define api_prefectEntInfo @"prefectEntInfo"

//订单概要
#define api_queryOrderSummary @"queryOrderSummary"

//客户信息
#define api_queryUserList @"queryUserList"

//银行信息
#define api_bankInfo @"getBankinfo"

//获取个人用户的参保人列表
#define api_insurerList @"getInsurerList"

//获取企业用户的参保人列表
#define api_companyInsurerList @"getInsurerListTemp"

//收入详情
#define api_queryIncome @"queryIncome"

//获取企业客户详情
#define api_getUserDetail @"getUserDetail"

//提醒详情
#define api_getRemindDetail @"getRemindDetail"

//提醒列表
#define api_get_remind  @"getRemind"

//修改备注
#define api_editDownRemark @"editDownRemark"

//修改企业客户资料(有图片)
#define api_updateFirmUserPhoto @"updateFirmUserPhoto"

//修改企业客户资料(无图片)
#define api_updateFirmUser @"updateFirmUser"

//修改企业下参保人资料（有图片)
#define  api_updateInsurerInfoTempPhoto @"updateInsurerNewTempPhoto"

//修改企业下参保人资料（无图片)
#define  api_updateInsurerInfoTemp  @"updateInsurerNewTemp"

//修改个人参保人资料（有图片)
#define  api_updateInsurerInfoPhoto @"updateInsurerNewPhoto"

//修改个人参保人资料（无图片)
#define  api_updateInsurerInfo @"updateInsurerNew"

//添加银行卡信息
#define  api_addCard @"addCard"

//删除银行卡removeCard
#define  api_removeCard @"removeCard"

//查询账户信息
#define  api_getSalerAccountLog @"getSalerAccountLog"

//查询信息getMyAccountInfo
#define  api_getSalerAccount @"getSalerAccount"

//获取银行卡名字;getBankList 查询银行列表
#define api_getBankList @"getBankList"

//提现申请
#define  api_addWithdrawRecord @"addWithdrawRecord"

//设置体现密码
#define  api_setTradePW @"setTradePW"

//判断是否为首次设置密码
#define  api_authTradePW @"authTradePW"

//销售实名认证
#define  api_salerAuth @"salerAuth"

//反馈信息(有图片)
#define api_addFeedbackPhoto @"addFeedbackPhoto"

//反馈信息(无图片)
#define api_addFeedback @"addFeedback"

/**
 *  通知
 */

/**  w网络状态改变 */
#define kChangeWift @"changeWifi"

/**城市View隐藏scroll  */
#define kscrollCanAction @"scrollCanAction"

/**  添加个人客户 */
#define kAddPersCustomerNotification @"addPersCustomerNotification"

/**  刷新首页 */
#define kdrawnowNotification @"drawnowNotification"

#define K_NSUSERDEF [NSUserDefaults standardUserDefaults]

/**
 *  服务器返回结果code
 *
 */
#define request_success  1            //成功
#define error_fail -1                 //参数错误
#define error_tokenTimeOut -2         //token过期
#define error_sent -3                 //已经发送过
#define error_lose -4                 //验证码过期
#define error_phoneNoExist -5         //手机号已被注册
#define error_pwd -6                  //登陆名或密码有误
#define error_userNoExist -7          //用户不存在
#define error_companyName -8          //公司名不合理
#define error_customExist -10              //客户已存在
#define error_validata -12            //验证码错误

#endif
